package com.marketingcenter.service;

import com.marketingcenter.entity.PackageCard;

/**
 * 套餐卡服务接口
 */
public interface PackageCardService extends PromotionService<PackageCard> {

    /**
     * 用户购买套餐卡
     */
    boolean purchasePackageCard(Long cardId, Long userId);

    /**
     * 查询套餐卡的折扣力度
     */
    double getDiscountRate(Long cardId);

}